Widen regex for killing stray gpg-agent processes
authorSimon McVittie <smcv@debian.org>
Sat, 16 Apr 2016 22:07:31 +0000 (23:07 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 16 Apr 2016 22:07:31 +0000 (23:07 +0100)
debian/rules

index 16ea33296271b5af0b838d7274d81a06d6dd1b28..f89209ef9f355fde29d61ba46d42863deae90bb4 100755 (executable)
@@ -28,7 +28,7 @@ override_dh_auto_configure:
 override_dh_auto_test:
        VERBOSE=1 dh_auto_test
        # One test creates multiple GPG homedirs, each with its own agent
-       pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/repo/tmp/ostree-gpg-[^/]+ " || :
+       pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/.*" || :
        if pgrep lt-ostree || pgrep --full "gpg-agent --homedir /var/tmp/tap-test."; then \
                echo "WARNING: daemon processes were leaked"; \
                pgrep gpg-agent | xargs --no-run-if-empty ps ww; \